package cn.mcartoon.mapper;
import  cn.mcartoon.pojo.MmChapter;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Component;

@Component
public interface MmChapterMapper {

	public MmChapter getMmChapterById(@Param(value = "id") Long id);

	public List<MmChapter>	getMmChapterListByMap(Map<String,Object> param);

	public Integer getMmChapterCountByMap(Map<String,Object> param);

	public Integer insertMmChapter(MmChapter mmChapter);

	public Integer updateMmChapter(MmChapter mmChapter);

	public Integer deleteMmChapterById(@Param(value = "id") Long id);

	public Integer batchDeleteMmChapter(Map<String,List<String>> params);

}
